<table width="100%">
	<tr class="head">
		<td>datum</td>
		<td>neto</td>
		<td>bruto</td>
		<td>porez</td>
		<td>kamata</td>
		<td>troškovi</td>
		<td>P</td>
	</tr>
	<tr>
		<td align="right">AVANS:</td>
		<td align="right"><input class="iznos avans" type="text" value="{{$avans_neto}}" name="plan_avans_neto" id="plan_avans_neto" disabled="disabled" /></td>
		<td align="right"><input class="iznos avans" type="text" value="{{$avans_bruto}}" name="plan_avans_bruto" id="plan_avans_bruto" disabled="disabled" /></td>
		<td align="right"><input class="iznos avans" type="text" value="{{$avans_porez}}" name="plan_avans_porez" id="plan_avans_porez" disabled="disabled" /></td>
		<td></td>
		<td></td>
		<td></td>
	</tr>
	{{%loop start num}}
	<tr>
		<td><input class="dateInput" type="text" name="plan_datum_{{$num}}" value="{{$datum}}" /></td>
		<td><input type="text" class="iznos" value="{{$plan_neto}}" name="plan_neto_{{$num}}" disabled="disabled" /></td>
		<td><input type="text" class="iznos" value="{{$plan_bruto}}" name="plan_bruto_{{$num}}" onfocus="this.value=strip_number_format(this.value)" onblur="onChangePlanOtplate(this)" /></td>
		<td><input type="text" class="iznos" value="{{$plan_porez}}" name="plan_porez_{{$num}}" disabled="disabled" /></td>
		<td><input type="text" class="iznos" value="" name="plan_kamata_{{$num}}" onfocus="this.value=strip_number_format(this.value)" onblur="this.value=number_format(this.value,2,',','.')" /></td>
		<td><input type="text" class="iznos" value="" name="plan_troskovi_{{$num}}" onfocus="this.value=strip_number_format(this.value)" onblur="this.value=number_format(this.value,2,',','.')" /></td>
		<td><input type="checkbox" name="plan_potvrda_{{$num}}" {{$plan_otplata}} /></td>
	</tr>
	{{%loop end}}
	<tr align="right" style="font-weight:bolder;">
		<td>UKUPNO:</td>
		<td>{{$ukupno_neto}}</td>
		<td>{{$ukupno_bruto}}</td>
		<td>{{$ukupno_porez}}</td>
		<td></td>
		<td></td>
	</tr>
</table>
<!--<div id="infoPlanUkupno">
	<strong>UKUPNO:</strong>
	<strong>{{$ukupno_neto}}</strong>
	<strong>{{$ukupno_bruto}}</strong>
	<strong>{{$ukupno_porez}}</strong>
</div>-->